package com.finance.report.dao;

import com.finance.framework.lang.Page;
import com.finance.report.bean.pojo.OrganizationSalary;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface OrganizationSalaryMapper {

	List<OrganizationSalary> listByPage(Page page);

	int addOrganizationSalary(OrganizationSalary organizationSalary);

	int updateOrganizationSalary(OrganizationSalary organizationSalary);

	OrganizationSalary getByOrgCode(@Param("orgCode") String orgCode,@Param("month") String month);

	int deleteByMonth(String month);

	String getCodeByName(String name);

}